<!DOCTYPE html>
<head>
    <title><?php echo $message; ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="<?= $site['cdnurl'] ?>/assets/css/pure.min.css" rel="stylesheet" />
    <link href="<?= $site['cdnurl'] ?>/assets/css/style.min.css" rel="stylesheet" />
    <link href="<?= $site['cdnurl'] ?>/assets/css/tips.min.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
      <script src="<?= $site['cdnurl'] ?>/assets/js/html5shiv.js"></script>
      <script src="<?= $site['cdnurl'] ?>/assets/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
    <div class="row tips">
        <div class="col-xs-12">
            <div class="well">
                <div class="media clearfix">
                    <div class="media-left">
                        <span class="iconfont icon-<?php echo $type == "success" ? "zhengque" : ($type == "error" ? "chucuo" : "jingshi") ?>"></span>
                    </div>
                    <div class="media-body">
                        <h4 class="media-heading"><?php echo $message; ?></h4>
                        <p></p>
                        <?php if ($time) { ?>
                            <span id="timeid"><?php echo $time; ?></span> 秒后将自动跳转
                            <a href="<?php echo $url; ?>">立即跳转</a>
                            <?php echo $script; ?>
                        <?php } ?>

                    </div>

                </div>
                <div class="pull-right"><small><a href="/"><span class="fa fa-home"></span> 返回主页</a></small></div>
                <div class="clearfix"></div>
            </div>
        </div>
    </div>
</body>
</html>